phpseclib\Net\SSH2 D

Total Complexity 588
Dependencies 12
Dependents 1
Total lines 4,720
Lines of code 2,512
Logical lines of code 1,587
Comment lines 1,551
Methods 80
Properties 82

Methods 80

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
2
96 574
_get_channel_packet()
D
20
58 207
_filter()
D
27
38 138
_login_helper()
D
26
35 163
getServerPublicHostKey()
D
28
30 132
_connect()
C
32 28 100
_keyboard_interactive_process()
C
33 27 97
_get_binary_packet()
C
36 24 71
exec()
C
33 21 113
_encryption_algorithm_to_key_size()
B
47 24 33
_privatekey_login()
B
34 17 101
_encryption_algorithm_to_crypt_instance()
B
47 21 34
_initShell()
A
38 11 81
_append_log()
A
42 12 54
read()
A
47 12 33
_send_binary_packet()
A
47 8 30
__construct()
S
36 3 85
_generate_identifier()
S
54 7 21
startSubsystem()
S
47 5 42
_login()
S
57 6 17
_close_channel()
S
58 5 16
getLog()
S
59 5 14
ping()
S
52 4 26
_send_channel_packet()
S
52 4 26
_format_log()
S
53 4 20
_define_array()
S
62 4 12
write()
S
63 4 11
_bad_algorithm_candidate()
S
67 4 9
_get_open_channel()
S
64 4 9
_reconnect()
S
62 3 11
_keyboard_interactive_login()
S
57 2 20
_array_intersect_first()
S
68 3 8
_get_interactive_channel()
S
66 3 10
disconnect()
S
71 3 6
_ssh_agent_login()
S
64 3 10
disablePTY()
S
70 2 7
_on_channel_open()
S
75 2 5
_disconnect()
S
64 2 9
getExitStatus()
S
73 2 6
getLastError()
S
71 2 6
setWindowRows()
S
82 1 3
setWindowColumns()
S
82 1 3
getWindowRows()
S
83 1 3
getErrors()
S
83 1 3
getWindowColumns()
S
83 1 3
getBannerMessage()
S
83 1 3
getCompressionAlgorithmsClient2Server()
S
78 1 4
getMACAlgorithmsServer2Client()
S
78 1 4
getServerIdentification()
S
78 1 4
getKexAlgorithms()
S
78 1 4
getServerHostKeyAlgorithms()
S
78 1 4
getEncryptionAlgorithmsClient2Server()
S
78 1 4
getLanguagesServer2Client()
S
78 1 4
getEncryptionAlgorithmsServer2Client()
S
78 1 4
getCompressionAlgorithmsServer2Client()
S
78 1 4
getMACAlgorithmsClient2Server()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
enableQuietMode()
S
82 1 3
_format_log_helper()
S
77 1 3
reset()
S
82 1 3
sendIdentificationStringFirst()
S
82 1 3
sendIdentificationStringLast()
S
82 1 3
sendKEXINITFirst()
S
82 1 3
sendKEXINITLast()
S
82 1 3
login()
S
72 1 5
setTimeout()
S
81 1 3
getStdError()
S
83 1 3
stopSubsystem()
S
74 1 5
isTimeout()
S
83 1 3
_string_shift()
S
73 1 5
__destruct()
S
83 1 3
isConnected()
S
80 1 3
isAuthenticated()
S
80 1 3
_reset_connection()
S
64 1 10
setCryptoEngine()
S
82 1 3
disableQuietMode()
S
82 1 3
isQuietModeEnabled()
S
83 1 3
enablePTY()
S
82 1 3
isPTYEnabled()
S
83 1 3
setWindowSize()
S
77 1 4